package com.kws.system.domain.info;

import cn.hutool.core.date.DatePattern;
import cn.hutool.core.date.DateUtil;
import io.swagger.annotations.ApiModelProperty;

import java.util.Date;
import java.util.Objects;

/**
 * <b>QueryCustomerServiceConsultInfo</b>
 *
 * @description: QueryCustomerServiceConsultInfo <br>
 * @date: 2024/12/6 11:49 <br>
 * @author: lhm <br>
 * @version: 1.0 <br>
 */
public class QueryCustomerServiceConsultInfo {
    @ApiModelProperty(value = "主键ID")
    private Long id;

    @ApiModelProperty(value = "发送者")
    private Long sendUser;

    @ApiModelProperty(value = "接收者")
    private Long toUser;

    @ApiModelProperty(value = "用户账号")
    private String userName;

    @ApiModelProperty(value = "用户ID")
    private Long userId;

    @ApiModelProperty(value = "用户姓名")
    private String nickName;

    @ApiModelProperty(value = "咨询时间")
    private Date consultTime;

    @ApiModelProperty(value = "咨询对象")
    private String consultObject;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getSendUser() {
        return sendUser;
    }

    public void setSendUser(Long sendUser) {
        this.sendUser = sendUser;
    }

    public Long getToUser() {
        return toUser;
    }

    public void setToUser(Long toUser) {
        this.toUser = toUser;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public String getConsultTime() {
        return DateUtil.format(consultTime, DatePattern.NORM_DATETIME_FORMATTER);
    }

    public void setConsultTime(Date consultTime) {
        this.consultTime = consultTime;
    }

    public String getConsultObject() {
        return consultObject;
    }

    public void setConsultObject(String consultObject) {
        this.consultObject = consultObject;
    }
}
